-
-
Notifications
You must be signed in to change notification settings - Fork 305
[hozzijeong] WEEK 04 solutions #2126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| */ | ||
| var findMin = function(nums) { | ||
| return Math.min(...nums) | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아마도 Math.min을 쓰시면 복잡도가 N이 될겁니다. 아래와 같은 constraint가 있습니다.
You must write an algorithm that runs in O(log n) time.
|
@DaleStudy 리뷰해줘 |
|
좋은 작업입니다! 전체적으로 깔끔하고 이해하기 쉬운 솔루션들이 많습니다. 몇 가지 개선 방안과 피드백을 드리자면:
전체적으로 훌륭한 PR입니다! 추가로, 복잡도 분석과 최적화 가능성을 고려해보시면 더 좋겠습니다. 계속해서 좋은 문제 해결 기대합니다! |
TonyKim9401
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
풀이해주신 문제들에 대해 자세한 설명까지 감사합니다.
4주차 문지 풀이 고생하셨습니다!
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!